<!-- 通用顶部工具栏组件 -->
<template>
  <el-card>
    <div class="page-tools">
      <!-- 左侧 -->
      <div class="left">
        <div class="tips">
          <slot name="left" />
        </div>
      </div>
      <!-- 右侧 -->
      <div class="right">
        <slot name="right" />
      </div>
    </div>
  </el-card>
</template>

<script>
export default {
  name: 'PageTools',
  data() {
    return {}
  }
}
</script>
<style lang='scss' scoped>
.page-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tips {
  border: 1px solid #91d5ff;
  background: #e6f7ff;
  padding: 6px 8px;
  border-radius: 3px;
  color: #303133;
  font-size: 12px;
  i {
    margin-right: 6px;
    color: #409eff;
  }
}
</style>
